home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19950929-19951130 / 000081_news@columbia.edu_Tue Oct 10 07:28:50 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA26400
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Thu, 12 Oct 1995 14:37:32 -0400
  3. Received: by apakabar.cc.columbia.edu id AA10730
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Thu, 12 Oct 1995 14:37:30 -0400
  5. Newsgroups: comp.protocols.kermit.misc
  6. Path: news.columbia.edu!news.cs.columbia.edu!pipeline!newsjunkie.ans.net!swiss.ans.net!solaris.cc.vt.edu!news.mathworks.com!newsfeed.internetmci.com!howland.reston.ans.net!ix.netcom.com!netcom.com!jhurwit
  7. From: jhurwit@netcom.com (Jeffrey Hurwit)
  8. Subject: Re: Control chars to prefix for rlogin?
  9. Message-Id: <yCieww8Z7WSY085yn@netcom.com>
  10. Sender: jhurwit@netcom2.netcom.com
  11. Organization: Organization?  What organization?
  12. References: <hg/dww8Z7K6Q085yn@netcom.com> <1995Oct10.115354.29235@chemabs.uucp>
  13. Date: Tue, 10 Oct 1995 07:28:50 GMT
  14. Lines: 45
  15. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  16.  
  17.     [Cc to poster.]
  18.  
  19.     Thank you for your helpful response.
  20.  
  21. In article <1995Oct10.115354.29235@chemabs.uucp>,
  22. "Steven W. Layten" <slayten@cas.org> wrote:
  23.  
  24. >rlogin uses (by default) an escape character of a '~'. I don't think that 
  25. >ms-kermit or C-Kermit will allow you to escape this char, as it is a 
  26. >printable character. I have found, however, that transfers from 
  27. >pc-->unix->unix, where the pc->unix link is via ms-kermit and the unix->unix 
  28. >link is via rlogin that the transfers failed when ms-kermit did its 
  29. >'compression' by replacing repeating chars with a run-length encoded string 
  30. >(the normal 'compression' char is '~' and the run-length was such that it 
  31. >was represented by another '~', that the two '~' chars together were changed 
  32. >by rlogin to a single '~', causing check-sum failures. 
  33.  
  34.     Sorry, I neglected to mention in my previous post that I'm
  35.     transferring (pkzip) compressed binary files.  I seriously doubt
  36.     that Kermit will find many repeating chars.  However, my test file
  37.     is well seasoned with ~ chars, and this may indeed be causing
  38.     transfers to fail.  Makes sense, when they work host --> PC.
  39.  
  40. >Bottom line: tell rlogin to use a different escape character by using the 
  41. >'-ec' flag (see man rlogin(1)). In my case, I've got a terminal server in 
  42. >the path that uses control-x as an escape char, so I have to tell ms-kermit 
  43. >to escape control-x anyway, so I tell rlogin to use control-x as the escape 
  44. >character. 
  45.  
  46.     I wasn't able to get my shell (tcsh) to accept a control char for
  47.     -e on the command line, however I was able to sneak it in the back
  48.     door by aliasing a command.  However, this strategy didn't work--
  49.     the PC --> my host --> rlogin'd host transfer still failed: I wound
  50.     up back at the shell prompt, and C-Kermit turned up as a suspended
  51.     job. (Note: ^Z is in my list of chars to prefix because that is the
  52.     suspend char on both my account and the one I'm rlogging into. 
  53.     Transfers will fail if it's not prefixed.) I also tried ^X, and the
  54.     results were exactly the same.  Suggestions would be *very*
  55.     welcome!
  56.  
  57.     BTW, I don't know if this is significant, but after a failed
  58.     transfer, I always wind up with a 0-byte file on the remote host
  59.     named }}.sfm#Wxn.  
  60.  
  61.                                         Jeff